import { pipe } from 'rambda';
import range from './range.js'; 
import take from './take.js';
import forEach from './forEach.js';

const nextNumber = range();
pipe(
    take(30),
    forEach(console.log)
)(nextNumber);